
function doYcLogin() {
	var username = document.getElementById('uid');
	var pwd = document.getElementsByName('password')[0];
	username.value = "";
	pwd.value = "";
	doLogin();
}


function testYc() {
	var mis = document.getElementsByClassName('mis');
	var str = ""
	for (m in mis) {
		str = "Hello, UIC!"
	}
	return str;
}

function timetable() {
	for (var i = 0; i < trs.length; i++) { 
		if (i > 0) { 
			var tr = trs[i]; 
			var tds = tr.getElementsByTagName('td'); 
			for (var j = 0; j < tds.length; j++) { 
				var tt = '[' + (i + 7) + ']'; 
				var td = tds[j]; 
				str[j] += (tt + td.innerText); 
			}
		}
	}
}
